#ifndef MYLABEL_H
#define MYLABEL_H

#include <QWidget>
#include <QMouseEvent>
#include <QLabel>

class myLabel : public QLabel
{
    Q_OBJECT
public:
    explicit myLabel(QWidget *parent = nullptr);

    //鼠标点击事件
    void mousePressEvent(QMouseEvent* event) override;
    bool event(QEvent* e) override;  // 重写 event 函数

signals:
};

#endif // MYLABEL_H
